package dao;


import entity.User;

import java.util.List;

public interface UserDao {

    int addUser(User user);

    void updateUser(User user);

    boolean findUserByName(String username);

    boolean findUserByNameAndPwd(String username, String password);

    List<User> findAllUser();
}
